package priv.yiyuan.example.design.product.renderer;

/**
 * Html 商品渲染
 * <p>
 * 桥接模式 - 具体实现者
 */
public class HtmlProductRenderer implements ProductRenderer {

    @Override
    public String render(String productData) {
        return "<html><body><h1>" + productData + "</h1></body></html>";
    }
}
